﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Website_ve_tau
{
    public partial class _Default : Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        protected void calDate_SelectionChanged(object sender, EventArgs e)
        {
            txtDate.Text = calDate.SelectedDate.ToString("d");
            /*txtDateBack.Text = calDate.SelectedDate.ToString("d");*/
            txtDateBack.Text = calDate1.SelectedDate.ToString("d");
        }

        protected void rdChieu_SelectedIndexChanged(object sender, EventArgs e)
        {
            if (rdChieu.SelectedItem.Text == "One way")
            {
                Back.Style.Add("display", "none");

            }
            else
            {
                Back.Style.Add("display","inline");

            }
        }
       
    }
}